package com.umpay.privi.util;

import java.sql.Timestamp;

public class TimeUtils {
	
	public static boolean parseTime(Timestamp lastTime){
		long currentTime = System.currentTimeMillis();
		long time1 = lastTime.getTime();
		long limitTime = 3600 * 24 * 90; 
		long totalTime = (currentTime - time1)/1000;	
		long time = limitTime - totalTime;
		if(time>0){
			return true;
		}else{
			return false;
		}
	}
	
}
